package com.fhzn.boss.web.request;


import com.fhzn.boss.entity.TagExtension;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author fhzn
 */
@Data
public class UpdateLevelRequest {

    @Schema(description = "id")
    private Integer id;

    @Schema(description = "parent id")
    @NotNull
    private Integer parentId;

    @Schema(description = "type")
    @NotEmpty
    private String type;

    @Schema(description = "type")
    @NotEmpty
    private String name;

    @Schema(description = "所属应用")
    private String appCode;

    @Schema(description = "备注信息")
    private String comment;

    @Schema(description = "扩展信息")
    private TagExtension extension;
}
